package javaweb_work01.login.Factory;

import javaweb_work01.login.Dao.UserDao;
import javaweb_work01.login.Dao.UserDaoImp;

public class UserDaoFactory {

    /**
     * 通过静态工厂方法模式创建并返回UserDao实现类对象
     * @return
     */
    public static UserDao getUserDao(){
        return new UserDaoImp();
    }
}
